<template>
  <div class="dljjc_box3_x">
    <m-tabs
      :value="data.tab"
      :data="data"
      @update:value="cfg.tabhand"
      :list="[{ name: 'boss_sql', title: '首领数据库' }]"
    />
    <template v-if="data.tab == 'boss_sql'">
      <component :is="set.comp.bosssql_data" />
    </template>
  </div>
</template>

<script>
import { cfg } from "@/cfg/cfg.js";

export default {
  setup() {
    const set = {
      comp: {
        bosssql_data: defineAsyncComponent(() => import(`./comp/bosssql_data.vue`)),
      },
    };
    let data = reactive({
      tab: cfg.route.query.tab ?? "boss_sql",
    });

    onMounted(async () => {});
    return { data, cfg, set };
  },
};
</script>
